<!-- 经验值规则 -->
<div class="easyui-layout" data-options="fit:true,border:false">
    <div id="queryGridBtn">
        <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-filesavewin8',plain:true" onClick="PageObject.confirmData();">保存</a>
    </div>
    <table id="queryGrid" class="easyui-datagrid" data-options="url:'../../json/replyEdit.asp',toolbar:'#queryGridBtn',rownumbers:true,fit:true,fitColumns:true,nowrap:false,height:350,singleSelect:true,onClickRow:function(index, row){CommonPageScript.onClickRow(index, row,'queryGrid');}">
        <thead>
            <tr>
                <th data-options="field:'orderNo',width:80,align:'center'">序号</th>
                <th data-options="field:'resource',width:80,align:'center'">来源</th>
                <th data-options="field:'experienceVal',width:80,align:'center',editor:{type:'numberbox',options:{min:0,precision:0,validType:'limitLength[4]',invalidMessage:'请输入4位以内数字！'}}">经验值/次</th>
                <th data-options="field:'maxVal',width:80,align:'center',editor:{type:'numberbox',options:{min:0,precision:0,validType:'limitLength[4]',invalidMessage:'请输入4位以内数字！'}}">每日最多可获得</th>
                <!-- <th data-options="field:'11',width:80,align:'center',formatter:PageObject.gameUserFormatter">操作</th> -->
            </tr>
        </thead>
    </table>
</div>

<script>
    ;(function($,window, PageObject){

        // 格式化datagrid(修改最后一列数据为详情)
        PageObject.gameUserFormatter = function (value, row, rowIndex) {
            return "<a href='javascript:void(0);' style='color:blue;' onclick='CommonPageScript.onClickRow(\"" + rowIndex + "\",\"" + row + "\",\"queryGrid\");'>修改</a>";
        };

        PageObject.confirmData = function(){
            
        };

    })(jQuery,window, window.PageObject = {});

</script>